package com.koron.common.web.follow.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.koron.bean.base.BaseBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


@Data
@ApiModel(value = "关注", description = "关注")
@EqualsAndHashCode

public class followBean extends BaseBean {

    @ApiModelProperty("唯一id")
    private String id;

    @ApiModelProperty("颜色")
    private String color;

    @ApiModelProperty("颜色对应中文")
    private String color_type;

    @ApiModelProperty("页面类型")
    private String page_type;

    @ApiModelProperty("模块名称")
    private String module;

    @ApiModelProperty("页面id")
    private String page_id;

    @ApiModelProperty(value = "用户名")
    private String account;

    @ApiModelProperty(value = "租户")
    private String rent;

    @ApiModelProperty(value = "创建人姓名")
    private String username;

    @ApiModelProperty(value = "状态")
    private String status;

    @ApiModelProperty(value = "状态2")
    private String state;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "标题2")
    private String name;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "创建时间")
    private Date create_time;
}
